#if !defined(AFX_CSPRDALIAN_H__7A06A7B5_9373_4CFC_ACCB_A7D592AC7B7E__INCLUDED_)
#define AFX_CSPRDALIAN_H__7A06A7B5_9373_4CFC_ACCB_A7D592AC7B7E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CSPRDalian.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CCSPRDalian dialog
CString vtos(_variant_t& v);
float vtof(_variant_t &v);
int  vtoi(_variant_t & v);

class CCSPRDalian : public CDialog
{
// Construction
public:
	CCSPRDalian(CWnd* pParent = NULL);   // standard constructor
	_RecordsetPtr m_pRS;
	_ConnectionPtr m_pCon;
	bool ConnectionDatamdb(_ConnectionPtr &pCon,CString strMdbName);

// Dialog Data
	//{{AFX_DATA(CCSPRDalian)
	enum { IDD = IDD_ADDFIELD_DIALOG };
	CString	m_pathName;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCSPRDalian)
	protected:
	virtual BOOL OnInitDialog();
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCSPRDalian)
	virtual void OnOK();
	afx_msg void OnH1Button();
	afx_msg void OnButton2();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CSPRDALIAN_H__7A06A7B5_9373_4CFC_ACCB_A7D592AC7B7E__INCLUDED_)
